package com.smfx.yxt.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smfx.yxt.daoSqlserver.ClassAlbumCommentMapper;
import com.smfx.yxt.model.ClassAlbumComment;
import com.smfx.yxt.service.IClassAlbumCommentService;

@Service("classAlbumCommentService")
public class ClassAlbumCommentServiceImpl implements IClassAlbumCommentService {

	@Autowired
	private ClassAlbumCommentMapper classAlbumCommentMapper; 
	
	@Override
	public int insertSelective(ClassAlbumComment record) {
		return classAlbumCommentMapper.insertSelective(record);
	}

	@Override
	public ClassAlbumComment selectByPrimaryKey(Integer id) {
		return classAlbumCommentMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(ClassAlbumComment record) {
		return classAlbumCommentMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateCancelZan(ClassAlbumComment record) {
		return classAlbumCommentMapper.updateCancelZan(record);
	}

}
